Replaces the element at the specified ordinal position.
Namespace:
C1.LiveLinq.CollectionsAssembly: C1.LiveLinq (in C1.LiveLinq.dll)
Syntax
C# |
---|
protected override void SetItem( int ordinal, T newItem ) |
Visual Basic |
---|
Protected Overrides Sub SetItem ( _ ordinal As Integer, _ newItem As T _ ) |
Parameters
- ordinal
- Type: System..::..Int32
The zero-based ordinal of the element to replace.
- newItem
- Type: T
The new value for the element at the specified ordinal. The value can be null for reference types.